<?php if(validation_errors() != '') { ?>
<div class="alert alert-danger">
    <?php echo validation_errors(); ?>
</div>
<?php } ?>
<form role="form" method="POST">
    <div class="form-group">
        <label>Marca</label>
        <input type="text" name="marca" class="form-control" maxlength="100" autofocus>
    </div>
    <div class="form-group">
        <label>Modelo</label>
        <input type="text" name="modelo" class="form-control" maxlength="100">
    </div>
    <div class="form-group">
        <label>Tipo</label>
        <input type="text" name="tipo" class="form-control" maxlength="100">
    </div>
    <div class="form-group">
        <label>Medidas</label>
        <input type="text" name="medidas" class="form-control" maxlength="100">
    </div>
    <button type="submit" class="btn btn-success">Agregar</button>
</form>
